<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改应收表')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-yingshou-edit" th:object="${alpYingshou}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">部门：</label>
                <div class="col-sm-8">
                    <input name="department" th:field="*{department}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售责任人一：</label>
                <div class="col-sm-8">
                    <input name="salesmanFirst" th:field="*{salesmanFirst}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售责任人二：</label>
                <div class="col-sm-8">
                    <input name="salesmanSecond" th:field="*{salesmanSecond}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收款单位：</label>
                <div class="col-sm-8">
                    <input name="collectionCompany" th:field="*{collectionCompany}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">客户名称：</label>
                <div class="col-sm-8">
                    <input name="customerName" th:field="*{customerName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">合同编号：</label>
                <div class="col-sm-8">
                    <input name="contractNo" th:field="*{contractNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">合同名称：</label>
                <div class="col-sm-8">
                    <input name="contractName" th:field="*{contractName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">阶段名称：</label>
                <div class="col-sm-8">
                    <input name="stageName" th:field="*{stageName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">合同金额：</label>
                <div class="col-sm-8">
                    <input name="contractMoney" th:field="*{contractMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月预算：</label>
                <div class="col-sm-8">
                    <input name="m1Budget" th:field="*{m1Budget}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月预测：</label>
                <div class="col-sm-8">
                    <input name="m1Predict" th:field="*{m1Predict}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月实际：</label>
                <div class="col-sm-8">
                    <input name="m1Actual" th:field="*{m1Actual}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月完成率：</label>
                <div class="col-sm-8">
                    <input name="m1FinishRate" th:field="*{m1FinishRate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月余额：</label>
                <div class="col-sm-8">
                    <input name="m1RemainSum" th:field="*{m1RemainSum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">二月预算：</label>
                <div class="col-sm-8">
                    <input name="m2Budget" th:field="*{m2Budget}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">二月预测：</label>
                <div class="col-sm-8">
                    <input name="m2Predict" th:field="*{m2Predict}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">二月实际：</label>
                <div class="col-sm-8">
                    <input name="m2Actual" th:field="*{m2Actual}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">二月完成率：</label>
                <div class="col-sm-8">
                    <input name="m2FinishRate" th:field="*{m2FinishRate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">二月余额：</label>
                <div class="col-sm-8">
                    <input name="m2RemainSum" th:field="*{m2RemainSum}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/yingshou";
        $("#form-yingshou-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-yingshou-edit').serialize());
            }
        }
    </script>
</body>
</html>